package com.ruoyi.project.ledger.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 消防设施设备管理台账对象 ledger_fire_fighting_equipment_manage
 *
 * @author gwc
 * @date 2020-04-14
 */
public class LedgerFireFightingEquipmentManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站id */
    @Excel(name = "场站id")
    private Long stationId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 位置（编号） */
    @Excel(name = "位置", readConverterExp = "编=号")
    private String locationNo;

    /** 维护记录 */
    @Excel(name = "维护记录")
    private String maintenanceRecord;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateId;

    private String stationName;

    private SysDept sysDept;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStationId(Long stationId)
    {
        this.stationId = stationId;
    }

    public Long getStationId()
    {
        return stationId;
    }
    public void setEquipmentName(String equipmentName)
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName()
    {
        return equipmentName;
    }
    public void setLocationNo(String locationNo)
    {
        this.locationNo = locationNo;
    }

    public String getLocationNo()
    {
        return locationNo;
    }
    public void setMaintenanceRecord(String maintenanceRecord)
    {
        this.maintenanceRecord = maintenanceRecord;
    }

    public String getMaintenanceRecord()
    {
        return maintenanceRecord;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateId(String createId)
    {
        this.createId = createId;
    }

    public String getCreateId()
    {
        return createId;
    }
    public void setUpdateId(String updateId)
    {
        this.updateId = updateId;
    }

    public String getUpdateId()
    {
        return updateId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("equipmentName", getEquipmentName())
            .append("locationNo", getLocationNo())
            .append("maintenanceRecord", getMaintenanceRecord())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
